package com.example.b_308.myapplication.view.user;

import android.content.Intent;
import android.os.Bundle;
import android.view.View;

import com.example.b_308.myapplication.R;
import com.example.b_308.myapplication.view.main.MainActivity;
import com.example.b_308.myapplication.view.base.BaseActivity;

/**
 * Created by B-308 on 2017/11/15.
 */
public class LoginActivity extends BaseActivity {
    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.activity_login);
        getTitleBar().setVisibility(View.GONE);
        findViewById(R.id.btn_login).setOnClickListener(new View.OnClickListener() {
            public void onClick(View v) {
                startActivity(new Intent(LoginActivity.this, MainActivity.class));
            }
        });
    }

    @Override
    public void fail() {

    }
}
